package com.naizhuai.network.Repository;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * @author：lichenxi
 * @date 2018/1/11 17
 * email：525603977@qq.com
 * Fighting
 */
public interface Api {
    //登录
    @POST("user/login")
    Observable<Result<?>> login(@Body RequestBody body);

}
